package com.xmy.cultivate.service.impl;

import com.xmy.cultivate.entity.TeacherLeadsYearClass;
import com.xmy.cultivate.mapper.TeacherLeadsYearClassMapper;
import com.xmy.cultivate.service.ITeacherLeadsYearClassService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 老师带班年级 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2025-02-25
 */
@Service
public class TeacherLeadsYearClassServiceImpl extends ServiceImpl<TeacherLeadsYearClassMapper, TeacherLeadsYearClass> implements ITeacherLeadsYearClassService {

    @Autowired
    TeacherLeadsYearClassMapper teacherLeadsYearClassMapper;

    @Override
    public List<TeacherLeadsYearClass> getTeacherLeadsYearClass(String id) {
        return teacherLeadsYearClassMapper.getTeacherLeadsYearClass(id);
    }

    @Override
    public TeacherLeadsYearClass getAutoYearClassList(String id) {
        return teacherLeadsYearClassMapper.getAutoYearClassList(id);
    }
}
